package com.ruoyi.operation.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.operation.domain.TOperationdailyResult;
import com.ruoyi.operation.domain.vo.TOperationdailyResultVo;
import com.ruoyi.operation.domain.bo.TOperationdailyResultBo;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 运营部门日志记录结果Service接口
 *
 * @author ruoyi
 * @date 2025-10-10
 */
public interface ITOperationdailyResultService {

    /**
     * 查询运营部门日志记录结果
     */
    TOperationdailyResultVo queryById(String id);

    /**
     * 查询运营部门日志记录结果列表
     */
    TableDataInfo<TOperationdailyResultVo> queryPageList(TOperationdailyResultBo bo, PageQuery pageQuery);

    /**
     * 查询运营部门日志记录结果列表
     */
    List<TOperationdailyResultVo> queryList(TOperationdailyResultBo bo);

    /**
     * 修改运营部门日志记录结果
     */
    Boolean insertByBo(TOperationdailyResultBo bo);

    /**
     * 修改运营部门日志记录结果
     */
    Boolean updateByBo(TOperationdailyResultBo bo);

    /**
     * 校验并批量删除运营部门日志记录结果信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    Boolean generate(TOperationdailyResultBo bo);

    R<String> finishWork(List<String> list);

    int failWork(TOperationdailyResultBo bo);
}
